package com.zhangdi.demo.httpclient;

public enum ErrorCode {
    success(200), error(500), token(401), forbidden(403), not_found(404), not_support(405);

    int code;

    ErrorCode(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
